import java.util.List;

public class Persons {
        public String id;
        public String username;
        public String age;
        public List<String> chiLike;
        public String[] tiYu;
//有参构造函数
        public Persons(String id,String name, String age,List<String> chiLike,String[] tiYu){
            this.id = id;
            this.username = name;
            this.chiLike = chiLike;
            this.tiYu = tiYu;
        }
//无参构造函数
//        public Persons(){}

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getAge() {
            return age;
        }

        public void setAge(String age) {
            this.age = age;
        }

        public List<String> getChiLike() {
            return chiLike;
        }

        public void setChiLike(List<String> chiLike) {
            this.chiLike = chiLike;
        }

        public String[] getTiYu() {
            return tiYu;
        }

        public void setTiYu(String[] tiYu) {
            this.tiYu = tiYu;
        }
    }

